<% title "Common Addresses" %>

<table>
  <tr>
    <th>Employee</th>
    <th>Category</th>
    <th>Name</th>
    <th>Desc</th>
    <th>Tel</th>
    <th>Address</th>
    <th>Long</th>
    <th>Lat</th>
  </tr>
  <% for common_address in @common_addresses %>
    <tr>
      <td><%=h common_address.employee_id %></td>
      <td><%=h common_address.category %></td>
      <td><%=h common_address.name %></td>
      <td><%=h common_address.desc %></td>
      <td><%=h common_address.tel %></td>
      <td><%=h common_address.address %></td>
      <td><%=h common_address.long %></td>
      <td><%=h common_address.lat %></td>
      <td><%= link_to "Show", common_address %></td>
      <td><%= link_to "Edit", edit_common_address_path(common_address) %></td>
      <td><%= link_to "Destroy", common_address, :confirm => 'Are you sure?', :method => :delete %></td>
    </tr>
  <% end %>
</table>

<p><%= link_to "New Common Address", new_common_address_path %></p>
